package T2;

public class Vehicle {
    public int wheels;
    public double weight;

    public Vehicle(){

    }
    public Vehicle(int wheels,double weight){
        this.wheels=wheels;
        this.weight=weight;
        System.out.println("车轮共"+wheels+"个  "+"车重"+weight);
    }

}
